package com.wisnews.mapper.sec;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.wisnews.pojo.sec.entity.Operator;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yuyd
 * @since 2020-12-15
 */
@Mapper
public interface OperatorMapper extends BaseMapper<Operator> {


    @Select(" select * from t_sec_operator ${ew.customSqlSegment}")
    IPage<Operator> getOperatorInfo4Page(IPage<Operator> page,
                                          @Param(Constants.WRAPPER) Wrapper<Operator> wrapper);
}
